<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>增加用户</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="../../../../elementUI/index.css">
    <link rel="stylesheet" href="../../../../css/index.css">
    <link rel="stylesheet" href="../../../../component/pear/css/pear.css" />
</head>

<body>
    <div id="app" class="minWidth">
        <el-form :model="form" :rules="rules" ref="contract" inline-message="true" style="width: 100%">
            <div class="table_titel">
                <div class="titel">增加认证数据</div>
                <div class="operation">
                    <el-button type="primary" size="small" @click="add_form">新增</el-button>
                    <el-button type="danger" size="small" @click="remove_form">删除</el-button>
                </div>
            </div>
            <div style="margin-bottom: 100px;">
                <el-descriptions :column="2" border size="small"
                    v-for="(item,index) in form.filter(item => form.lenght != '1')" :key="index">
                    <el-descriptions-item :label="index+1+'.机构名称'">
                        <el-form-item prop="Other_Service_Detail_Name">
                            <el-input v-model.trim="item.Other_Service_Detail_Name" placeholder="请输入机构名称"></el-input>
                        </el-form-item>
                    </el-descriptions-item>
                    <el-descriptions-item :label="index+1+'.机构总部'">
                        <el-form-item prop="Other_Service_Detail_Address">
                            <el-input v-model.trim="item.Other_Service_Detail_Address" placeholder="请输入机构总部"></el-input>
                        </el-form-item>
                    </el-descriptions-item>
                    <el-descriptions-item label="网址">
                        <el-form-item prop="Other_Service_Detail_URL">
                            <el-input v-model.trim="item.Other_Service_Detail_URL" placeholder="请输入网址网址"></el-input>
                        </el-form-item>
                    </el-descriptions-item>
                    <el-descriptions-item label="电话">
                        <el-form-item prop="Other_Service_Detail_Phone">
                            <el-input v-model.trim="item.Other_Service_Detail_Phone" placeholder="请输入电话"></el-input>
                        </el-form-item>
                    </el-descriptions-item>
                    <el-descriptions-item label="服务内容">
                        <el-form-item prop="Other_Service">
                            <el-input type="textarea" v-model.trim="item.Other_Service"
                                placeholder="请输入服务内容"></el-input>
                        </el-form-item>
                    </el-descriptions-item>
                </el-descriptions>
            </div>
            <el-form-item class="form-operation">
                <el-button @click="window.history.back()">返回</el-button>
                <el-button type="primary" @click="submitForm()">提交</el-button>
            </el-form-item>
        </el-form>
    </div>
    <script type="text/javascript" src="../../../../js/jquery-3.6.0.min.js"></script>
    <script type="text/javascript" src="../../../../js/jquery.cookie.js"></script>
    <script type="text/javascript" src="../../../../js/vue.min.js"></script>
    <script type="text/javascript" src="../../../../elementUI/index.js"></script>
    <script type="text/javascript" src="../../../../js/utils.js"></script>
    <script type="text/javascript" src="../../../../js/compressor.js"></script>
    <script type="text/javascript" src="../../../../js/ID_Validity.js"></script>
    <script type="text/javascript" src="./js/Add.js"></script>
</body>

</html>